public class practice {


    public static void main(String[] args) {
/*        Person person=new Person("hzp",88);
        person.eat();
        System.out.println(person);*/
    }

    public static void main3(String[] args) {
        Date date=new Date(2022,4,1);
        date.printDate();
    }
/*    public static void main2(String[] args) {
        Date d1=new Date();
        Date d2=new Date();
        Date d3=new Date();

        d1.setDay(2022,3,2);
        d2.setDay(2023,1,2);
        d3.setDay(2024,5,2);

        d1.printDate();
        d2.printDate();
        d3.printDate();
    }*/
    public static void main1(String[] args) {
        Dog dog=new Dog();
        dog.name="hzp";
        dog.color="白色";
        dog.barks();
        dog.wag();

        Student stu=new Student();
        stu.name="hzp";
        stu.gender="男";
        stu.age=18;
        stu.doClass();
    }
}
